package com.huabo.audit.oracle.entity;

import java.util.Date;
import java.util.Set;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huabo.audit.config.IgnoreSwaggerParameter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("TBL_NBSJ_AUDITPROGRAM")
@Data
@ApiModel("实体类")
public class TblAduitProGramEntity {
	
	public static final Integer TEMP_NUMBER=0;//审计模板
	public static final Integer ZY_NUMBER=1;//审计指引
	
	@TableId(value = "programId", type= IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer programId;

    @TableField(value = "target")
    @ApiModelProperty(value="",hidden=true)
    @IgnoreSwaggerParameter
    private TblTargetTypeEntity target;
    
    @TableField(value = "businessType")
    @ApiModelProperty(value="")
    private String businessType;
    
    @TableField(value = "status")
    @ApiModelProperty(value="")
    private Integer status;
    
	@TableField(value = "suditProcess")
    @ApiModelProperty(value="")
    private String suditProcess;
	
	@TableField(value = "riskSource")
    @ApiModelProperty(value="")
    private String riskSource;
	
	@TableField(value = "riskPoint")
    @ApiModelProperty(value="")
    private String riskPoint;
	
	@TableField(value = "control")
    @ApiModelProperty(value="")
    private String control;
	
	@TableField(value = "progamcode")
    @ApiModelProperty(value="")
    private String progamcode;
	
	@TableField(value = "bioData")
    @ApiModelProperty(value="")
    private String bioData;
	
	@TableField(value = "updateTime")
    @ApiModelProperty(value="",hidden=true)
    private Date updateTime;
	
	@TableField(value = "createTime")
    @ApiModelProperty(value="",hidden=true)
    private Date createTime;
	
	@TableField(value = "nbsjTemplete")
    @ApiModelProperty(value="",hidden=true)
	@IgnoreSwaggerParameter
    private TblNbsjTempleteEntity nbsjTemplete;
	
	@TableField(value = "authorizations")
    @ApiModelProperty(value="",hidden=true)
	@IgnoreSwaggerParameter
    private Set<TblNbsjAuthorizationEntity> authorizations;
	
	@TableField(value = "staff")
    @ApiModelProperty(value="",hidden=true)
	@IgnoreSwaggerParameter
    private TblStaff staff;
	
	@TableField(value = "TARGETID")
    @ApiModelProperty(value="")
    private Integer targetId;
	
	@TableField(value = "TEMPID")
    @ApiModelProperty(value="")
    private Integer tempId;
	
	@TableField(value = "")
    @ApiModelProperty(value="",hidden=true)
    private String renyuan;
	
}
